<?php echo $this->load->view('meta');?>
<link rel="stylesheet" href="<?=base_url();?>css/ui.tabs.css" />
<link rel="stylesheet" href="<?=base_url();?>css/static.css" />
<script type="text/javascript" language="JavaScript" src="<?=base_url();?>js/ui.tabs.js"></script>
<script type="text/javascript" language="JavaScript">
	$(document).ready(function() {
		$("#lifegroups > ul").tabs();
		$("#lifegroups > ul").tabs("select", '#' + $("#contact_who").val());
		$("#thumbs a").click(function() {
			$("#lifegroups > ul").tabs("select",$("#thumbs a").index(this)+1);
			return false;
		});
		$('.ui-tabs-nav').bind('select.ui-tabs', function(event, ui) {
    		$("#contact_who").val("lg_" + $(ui.tab).attr("id"));
		});
	});
</script>
<?php if ($this->validation->contact_who != ""): ?>
	<script type="text/javascript" language="JavaScript">
	$(document).ready(function() {

	});
</script>
<?php endif; ?>
<title>Fifegroups :: Chi Alpha at NCSU and Meredith</title>
<?php echo $this->load->view('header'); ?>
<div id="lifegroups_right">
	<p>click below for info</p>
	<ul id="thumbs">
		<li><strong>Mondays</strong></li>
		<li><a href="<?=site_url()?>xa/lifegroups"><img src="<?=base_url()?>img/lifegroups/thumb_sarah.jpg" title="Sarah" alt="Sarah" /></a></li>
		<li><a href="<?=site_url()?>xa/lifegroups"><img src="<?=base_url()?>img/lifegroups/thumb_joey.jpg" title="Joey" alt="Joey" /></a></li>
		<li><a href="<?=site_url()?>xa/lifegroups"><img src="<?=base_url()?>img/lifegroups/thumb_dt_tim.jpg" title="DT & Tim" alt="DT & Tim"  /></a></li>
		<li><strong>Wednesdays</strong></li>
		<li><a href="<?=site_url()?>xa/lifegroups"><img src="<?=base_url()?>img/lifegroups/thumb_willer_daryl.jpg" title="Michael & Daryl" alt="Michael & Daryl"  /></a></li>
		<li><a href="<?=site_url()?>xa/lifegroups"><img src="<?=base_url()?>img/lifegroups/thumb_krissi.jpg" title="Krissi" alt="Krissi"  /></a></li>
		<li><strong>Thursdays</strong></li>
		<li><a href="<?=site_url()?>xa/lifegroups"><img src="<?=base_url()?>img/lifegroups/thumb_bobby.jpg" title="Bobby" alt="Bobby"  /></a></li>
	</ul>
</div>
<div id="lifegroups">
		<ul>
			<li><a href="#what_is"><span>lifegroups</span></a></li>
			<li><a href="#lg_sarah" id="sarah"><span>Sarah</span></a></li>
			<li><a href="#lg_joey" id="joey"><span>Joey</span></a></li>
			<li><a href="#lg_dttim" id="dttim"><span>DT & Tim</span></a></li>
			<li><a href="#lg_michaeldaryl" id="michaeldaryl"><span>Michael & Daryl</span></a></li>
			<li><a href="#lg_krissi" id="krissi"><span>Krissi</span></a></li>
			<li><a href="#lg_bobby" id="bobby"><span>Bobby</span></a></li>
		</ul>
		<div id="what_is" class="clearfix">
			<h1>What is a lifegroup?</h1>
			<p>Lifegroups are happy places.  Where the sun is always shining and the air smells like warm root beer.</p>
		</div>
		<div id="lg_sarah" class="clearfix">
			<img src="<?=base_url()?>img/lifegroups/sarah.jpg" title="Sarah" alt="Sarah" />
			<h1>Sarah</h1>
			<p class="time">Monday 8pm</p>
			<p class="place">Talley Student Center<br />3rd Floor - Chaplain's Office</p>
		</div>
		<div id="lg_joey" class="clearfix">
			<img src="<?=base_url()?>img/lifegroups/joey.jpg" title="Joey" alt="Joey" />
			<h1>Joey</h1>
			<p class="time">Monday 9pm</p>
			<p class="place">Sullivan Hall</p>
		</div>
		<div id="lg_dttim" class="clearfix">
			<img src="<?=base_url()?>img/lifegroups/dt_tim.jpg" title="DT & Tim" alt="DT & Tim" />
			<h1>DT & Tim</h1>
			<p class="time">Monday 8pm</p>
			<p class="place">Owen 114</p>
		</div>
		<div id="lg_michaeldaryl" class="clearfix">
			<img src="<?=base_url()?>img/lifegroups/willer_daryl.jpg" title="Michael & Daryl" alt="Michael & Daryl" />
			<h1>Michael & Daryl</h1>
			<p class="time">Wednesday 8pm</p>
			<p class="place">Meet in front of DH Hill Library</p>
		</div>
		<div id="lg_krissi" class="clearfix">
			<img src="<?=base_url()?>img/lifegroups/krissi.jpg" title="Krissi" alt="Krissi" />
			<h1>Krissi</h1>
			<p class="time">Wednesday 7:30pm</p>
			<p class="place">Vann 311, Meredith College</p>
		</div>
		<div id="lg_bobby" class="clearfix">
			<img src="<?=base_url()?>img/lifegroups/bobby.jpg" title="Bobby" alt="Bobby" />
			<h1>Bobby</h1>
			<p class="time">Thursday 8pm</p>
			<p class="place">Avent Ferry Complex</p>
		</div>
		<div id="contact_tab">
			<span>contact</span>
		</div>
</div>
		
<div id="lifegroup_contact">
	<?=form_open('xa/lifegroups');?>
		<fieldset>
			<div id="validation">
				<?=$this->validation->error_string;?>
			</div>
			<ol class="twofifty">
				<li><label for="name">name</label>
					<input type="input" name="name" size="46" value="<?=$this->validation->name;?>" /></li>
				<li><label for="email">email</label>
					<input type="input" name="email" size="46" value="<?=$this->validation->email;?>" /></li>
				<li><label for="message">message</label>
					<textarea name="message" rows="4" cols="35" ><?=$this->validation->message;?></textarea></li>
				<li><input type="hidden" id="contact_who" name="contact_who" value="<?=$this->validation->contact_who;?>"/>
					<?=form_submit('','submit');?></li>
			</ol>
		</fieldset>
	</form>		
</div>
<?php echo $this->load->view('footer');?>